package cn.monkey.family.server.domain.uc.org.role;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OrgRoleConfig {
    @Bean
    OrgRoleRelBinder orgRoleRelBinder(OrgRoleRepository orgRoleRepository) {
        return new OrgRoleRelBinder(orgRoleRepository);
    }

    @Bean
    OrgRoleRelChecker orgRoleRelChecker(OrgRoleRepository orgRoleRepository) {
        return new OrgRoleRelChecker(orgRoleRepository);
    }
}
